package ejbs;
/**
 * Bean implementation class for Enterprise Bean: Book
 */
public abstract class BookBean implements javax.ejb.EntityBean {
	private javax.ejb.EntityContext myEntityCtx;
	/**
	 * setEntityContext
	 */
	public void setEntityContext(javax.ejb.EntityContext ctx) {
		myEntityCtx = ctx;
	}
	/**
	 * getEntityContext
	 */
	public javax.ejb.EntityContext getEntityContext() {
		return myEntityCtx;
	}
	/**
	 * unsetEntityContext
	 */
	public void unsetEntityContext() {
		myEntityCtx = null;
	}
	/**
	 * ejbCreate
	 */
	public ejbs.BookKey ejbCreate(
		java.lang.Integer id,
		java.lang.Integer anotherId) throws javax.ejb.CreateException {
		setId(id);
		setAnotherId(anotherId);
		return null;
	}
	/**
	 * ejbPostCreate
	 */
	public void ejbPostCreate(java.lang.Integer id, java.lang.Integer anotherId)
		throws javax.ejb.CreateException {
	}
	/**
	 * ejbActivate
	 */
	public void ejbActivate() {
	}
	/**
	 * ejbLoad
	 */
	public void ejbLoad() {
	}
	/**
	 * ejbPassivate
	 */
	public void ejbPassivate() {
	}
	/**
	 * ejbRemove
	 */
	public void ejbRemove() throws javax.ejb.RemoveException {
	}
	/**
	 * ejbStore
	 */
	public void ejbStore() {
	}
	/**
	 * Get accessor for persistent attribute: id
	 */
	public abstract java.lang.Integer getId();
	/**
	 * Set accessor for persistent attribute: id
	 */
	public abstract void setId(java.lang.Integer newId);
	/**
	 * Get accessor for persistent attribute: title
	 */
	public abstract java.lang.String getTitle();
	/**
	 * Set accessor for persistent attribute: title
	 */
	public abstract void setTitle(java.lang.String newTitle);
	/**
	 * Get accessor for persistent attribute: numberOfPages
	 */
	public abstract java.lang.Integer getNumberOfPages();
	/**
	 * Set accessor for persistent attribute: numberOfPages
	 */
	public abstract void setNumberOfPages(java.lang.Integer newNumberOfPages);
	/**
	 * This method was generated for supporting the relationship role named author.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract java.util.Collection getAuthor();
	/**
	 * This method was generated for supporting the relationship role named author.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract void setAuthor(java.util.Collection anAuthor);
	/**
	 * This method was generated for supporting the relationship role named page.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract java.util.Collection getPage();
	/**
	 * This method was generated for supporting the relationship role named page.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract void setPage(java.util.Collection aPage);
	/**
	 * This method was generated for supporting the relationship role named book_which_cites.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract java.util.Collection getBook_which_cites();
	/**
	 * This method was generated for supporting the relationship role named book_which_cites.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract void setBook_which_cites(ejbs.BookLocal aBook_which_cites);
	/**
	 * This method was generated for supporting the relationship role named book_which_is_cited.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract java.util.Collection getBook_which_is_cited();
	/**
	 * This method was generated for supporting the relationship role named book_which_is_cited.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract void setBook_which_is_cited(
		ejbs.BookLocal aBook_which_is_cited);
	/**
	 * Get accessor for persistent attribute: anotherId
	 */
	public abstract java.lang.Integer getAnotherId();
	/**
	 * Set accessor for persistent attribute: anotherId
	 */
	public abstract void setAnotherId(java.lang.Integer newAnotherId);
	/**
	 * This method was generated for supporting the relationship role named book_which_cites.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract void setBook_which_cites(
		java.util.Collection aBook_which_cites);
	/**
	 * This method was generated for supporting the relationship role named book_which_is_cited.
	 * It will be deleted/edited when the relationship is deleted/edited.
	 */
	public abstract void setBook_which_is_cited(
		java.util.Collection aBook_which_is_cited);
}
